Chapter 4 Test Questions

1). A Header is a special data structure that contains which of the following?
a. Information about destination and host computers.
b. Type of protocol being used.
c. Bit Stream Communication
d. Router Addresses
Answer a & b

2). What are the three main functions of TCP?
a. Session Establishment
b. Open Windows
c. Bit Stream Communications
d. Sliding Windows
e. Byte Stream Communications
Answer a,d & e

1) The Transport layer is responsible for which of the following?
A. Taking data from winsock & putting it into packages
B. Creating data segments it is sending to Winsock
C. Addressing the packets to TCP/IP address
D. All of the above*

2) Which of the following are the main functions of TCP?
A. session establishment, byte stream communications, sliding windows*
B. sliding windows, pseudo headers, transmissions
C. session, transmission control, pseudo headers
D. none of the above

3) UDP is used in which of the following situations?
A. where the sender does not require confirmation of the transmission*
B. where the sender requires confirmation of the transmission
C. both A and B
D. none of the above

10.TCP Headers contain which of the following bits of information?
a.Checksum
b.Sequence number
c.source port
d.destination port
e.padding
f. all of the above *

11.Pseudo Headers includes ____and ______addresses required to move the info across the network.
a.source, destination *
b.internal, external network
c.binary, decimal
d.NetBios, Winsock

12.A SYN control bit is turned on when...(choose 2)
a.NetBios handshakes with the protocol layer.
b.Winsock asks for a handshake from the host.
c.Winsock asks to open a connection from a host.*
d.A TCP session is started *

1. NAME THE INFORMATION A HEADER PROVIDE?
A. HOST COMPUTER
B. DESTINATION INFORMATION
C. PROTOCOL BEING USED
D. ALL THE ABOVE
ANS D P 68

2. APPLICATIONS USING TCP PROTOCOLS MUST  BE ABLE TO?
A. OPEN SESSION
B. CLOSE SESSIONS
C. NONE THE ABOVE
ANS A, B P 71

3. WHAT DO SLIDING WINDOWS ALLOW?
A. GUARANTEED DELIVERY OF DATA
B. LARGE PACKETS OF DATA TO BE CARRIED
C. THE DATA TO BE SEEN
ANS A P 73

1. What two things are added to data at the Transport layer?
The Header and the Pseudo Header*

2. What are the three main fuctions of TCP?
Session establishment*
Byte stream establishment*
Sliding Windows*

7.What is the function of the host address
A.keep connection
B.ID computer
C.Determine class
D.broad cast
8.Which can let you configure to be static or dynamic
A.win nt
B.nbtstat
C.http
D.ftp

a _________________ is used to tell IP where the information is to be sent?
a. header
b. pseudo header *
c. source port
d. sequence number

_________ is a connection-oriented protocol.
a. TCP *
b. UDP
c. ACK
d. TSY

1) The Transport layer is responsible for which of the following?
A. Taking data from winsock & putting it into packages
B. Creating data segments it is sending to Winsock
C. Addressing the packets to TCP/IP address
D. All of the above*

2) Which of the following are the main functions of TCP?
A. session establishment, byte stream communications, sliding windows*
B. sliding windows, pseudo headers, transmissions
C. session, transmission control, pseudo headers
D. none of the above

3) UDP is used in which of the following situations?
A. where the sender does not require confirmation of the transmission*
B. where the sender requires confirmation of the transmission
C. both A and B
D. none of the above

1. In the Header information the source port is optional while using the following protocol:-
a) TCP
b) UDP                *
c) Both TCp & UDP
d) Neither TCP OR UDP

2. In TCP, the size of the 'Receving Window' of both the sender and receiver host has to be the same.
a) TRUE
b) FALSE         *

1.   TCP is a _________ protocol.  B
    A.  broadcast
    B.  connection-oriented
    C.  transmission
    D.  disoriented

2.   Check all that apply.  A UDP header includes:  B, D, E
    A.  sequence number
    B.  source port
    C.  Acknowledgement number
    D.  destination port
    E.  length

3.   A __________ is used to tell IP where the information is to be sent. 
A:  pseudo header

7. The___________________ layer is responsible for taking the data from Winsock and putting it into packages that can be sent on the network.
A. Application
B. Transport
C. Internetwork
D. Network Access
(Answer B: Page 67)

8. TCP is a_______________________________________ protocol.
(Answer connection-oriented: Page 68)

Transmission Control Protocol (TCP) provides ___________ data transfer and communication.
a. fast 
b* connection-oriented 
c. connectionless 
d. unreliable 

_________ is a function of TCP which provides a buffer that enables byte stream communications and enables TCP to guarantee the delivery of segments of data. 
* sliding window